package com.ma.mapper;

import com.ma.entity.Posts;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PostsMapper {
    void save(Posts posts);

    @Select("select * from posts order by created_time desc")
    List<Posts> list();
}
